package com.ruoyi.electrical.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 electrical_daily_inspection
 * 
 * @author ruoyi
 * @date 2022-05-09
 */
public class ElectricalDailyInspection extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 日常巡查单号 */
    private Long dailyInspectionId;

    /** 隧道编码 */
    @Excel(name = "隧道编码")
    private Long tunnelId;

    /** 养护机构 */
    @Excel(name = "养护机构")
    private String maintenanceOrganization;

    /** 检查日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "检查日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date inspectionDate;

    /** 设备管理单号 */
    @Excel(name = "设备管理单号")
    private Long electricalEquipmentId;

    /** 检查内容 */
    @Excel(name = "检查内容")
    private String checkContent;

    /** 检查结果 */
    @Excel(name = "检查结果")
    private String checkResult;

    /** 巡视车、作业车使用情况 */
    @Excel(name = "巡视车、作业车使用情况")
    private String carUsage;

    /** 注意事项 */
    @Excel(name = "注意事项")
    private String precautions;

    /** 检查人 */
    @Excel(name = "检查人")
    private String checker;

    /** 记录人 */
    @Excel(name = "记录人")
    private String recorder;

    public void setDailyInspectionId(Long dailyInspectionId) 
    {
        this.dailyInspectionId = dailyInspectionId;
    }

    public Long getDailyInspectionId() 
    {
        return dailyInspectionId;
    }
    public void setTunnelId(Long tunnelId) 
    {
        this.tunnelId = tunnelId;
    }

    public Long getTunnelId() 
    {
        return tunnelId;
    }
    public void setMaintenanceOrganization(String maintenanceOrganization) 
    {
        this.maintenanceOrganization = maintenanceOrganization;
    }

    public String getMaintenanceOrganization() 
    {
        return maintenanceOrganization;
    }
    public void setInspectionDate(Date inspectionDate) 
    {
        this.inspectionDate = inspectionDate;
    }

    public Date getInspectionDate() 
    {
        return inspectionDate;
    }
    public void setElectricalEquipmentId(Long electricalEquipmentId) 
    {
        this.electricalEquipmentId = electricalEquipmentId;
    }

    public Long getElectricalEquipmentId() 
    {
        return electricalEquipmentId;
    }
    public void setCheckContent(String checkContent) 
    {
        this.checkContent = checkContent;
    }

    public String getCheckContent() 
    {
        return checkContent;
    }
    public void setCheckResult(String checkResult) 
    {
        this.checkResult = checkResult;
    }

    public String getCheckResult() 
    {
        return checkResult;
    }
    public void setCarUsage(String carUsage) 
    {
        this.carUsage = carUsage;
    }

    public String getCarUsage() 
    {
        return carUsage;
    }
    public void setPrecautions(String precautions) 
    {
        this.precautions = precautions;
    }

    public String getPrecautions() 
    {
        return precautions;
    }
    public void setChecker(String checker) 
    {
        this.checker = checker;
    }

    public String getChecker() 
    {
        return checker;
    }
    public void setRecorder(String recorder) 
    {
        this.recorder = recorder;
    }

    public String getRecorder() 
    {
        return recorder;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("dailyInspectionId", getDailyInspectionId())
            .append("tunnelId", getTunnelId())
            .append("maintenanceOrganization", getMaintenanceOrganization())
            .append("inspectionDate", getInspectionDate())
            .append("electricalEquipmentId", getElectricalEquipmentId())
            .append("checkContent", getCheckContent())
            .append("checkResult", getCheckResult())
            .append("carUsage", getCarUsage())
            .append("precautions", getPrecautions())
            .append("checker", getChecker())
            .append("recorder", getRecorder())
            .toString();
    }
}
